﻿using System;
using System.Runtime.Serialization;

namespace ParserGenerator.Exceptions
{
    [Serializable]
    public class ErrorException : CompilationException
    {
        public ErrorException()
        {
        }

        public ErrorException(string message)
            : base(message)
        {
        }

        public ErrorException(string message, Exception inner)
            : base(message, inner)
        {
        }

        protected ErrorException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }

    [Serializable]
    public class GeneratorExitException : CompilationException
    {
        public GeneratorExitException()
        {
        }

        public GeneratorExitException(string message)
            : base(message)
        {
        }

        public GeneratorExitException(string message, Exception inner)
            : base(message, inner)
        {
        }

        protected GeneratorExitException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }

    [Serializable]
    public class SystemExitException : CompilationException
    {
        public SystemExitException()
        {
        }

        public SystemExitException(string message)
            : base(message)
        {
        }

        public SystemExitException(string message, Exception inner)
            : base(message, inner)
        {
        }

        protected SystemExitException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }

    [Serializable]
    public class KeyboardInterruptException : CompilationException
    {
        public KeyboardInterruptException()
        {
        }

        public KeyboardInterruptException(string message)
            : base(message)
        {
        }

        public KeyboardInterruptException(string message, Exception inner)
            : base(message, inner)
        {
        }

        protected KeyboardInterruptException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }

    [Serializable]
    public class ArgumentErrorException : ErrorException
    {
        public ArgumentErrorException()
        {
        }

        public ArgumentErrorException(string message)
            : base(message)
        {
        }

        public ArgumentErrorException(string message, Exception inner)
            : base(message, inner)
        {
        }

        protected ArgumentErrorException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }

    [Serializable]
    public class TypeErrorException : ErrorException
    {
        public TypeErrorException()
        {
        }

        public TypeErrorException(string message)
            : base(message)
        {
        }

        public TypeErrorException(string message, Exception inner)
            : base(message, inner)
        {
        }

        protected TypeErrorException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }

    [Serializable]
    public class StopAsyncIterationException : CompilationException
    {
        public StopAsyncIterationException()
        {
        }

        public StopAsyncIterationException(string message)
            : base(message)
        {
        }

        public StopAsyncIterationException(string message, Exception inner)
            : base(message, inner)
        {
        }

        protected StopAsyncIterationException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }

    [Serializable]
    public class StopIterationException : CompilationException
    {
        public StopIterationException()
        {
        }

        public StopIterationException(string message)
            : base(message)
        {
        }

        public StopIterationException(string message, Exception inner)
            : base(message, inner)
        {
        }

        protected StopIterationException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }

    [Serializable]
    public class ImportErrorException : ErrorException
    {
        public ImportErrorException()
        {
        }

        public ImportErrorException(string message)
            : base(message)
        {
        }

        public ImportErrorException(string message, Exception inner)
            : base(message, inner)
        {
        }

        protected ImportErrorException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }

    [Serializable]
    public class OSErrorException : ErrorException
    {
        public OSErrorException()
        {
        }

        public OSErrorException(string message)
            : base(message)
        {
        }

        public OSErrorException(string message, Exception inner)
            : base(message, inner)
        {
        }

        protected OSErrorException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }

    [Serializable]
    public class EOFErrorException : ErrorException
    {
        public EOFErrorException()
        {
        }

        public EOFErrorException(string message)
            : base(message)
        {
        }

        public EOFErrorException(string message, Exception inner)
            : base(message, inner)
        {
        }

        protected EOFErrorException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }

    [Serializable]
    public class RuntimeErrorException : ErrorException
    {
        public RuntimeErrorException()
        {
        }

        public RuntimeErrorException(string message)
            : base(message)
        {
        }

        public RuntimeErrorException(string message, Exception inner)
            : base(message, inner)
        {
        }

        protected RuntimeErrorException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }

    [Serializable]
    public class NameErrorException : ErrorException
    {
        public NameErrorException()
        {
        }

        public NameErrorException(string message)
            : base(message)
        {
        }

        public NameErrorException(string message, Exception inner)
            : base(message, inner)
        {
        }

        protected NameErrorException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }

    [Serializable]
    public class AttributeErrorException : ErrorException
    {
        public AttributeErrorException()
        {
        }

        public AttributeErrorException(string message)
            : base(message)
        {
        }

        public AttributeErrorException(string message, Exception inner)
            : base(message, inner)
        {
        }

        protected AttributeErrorException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }

    [Serializable]
    public class SyntaxErrorException : ErrorException
    {
        public SyntaxErrorException()
        {
        }

        public SyntaxErrorException(string message)
            : base(message)
        {
        }

        public SyntaxErrorException(string message, Exception inner)
            : base(message, inner)
        {
        }

        protected SyntaxErrorException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }

    [Serializable]
    public class LookupErrorException : ErrorException
    {
        public LookupErrorException()
        {
        }

        public LookupErrorException(string message)
            : base(message)
        {
        }

        public LookupErrorException(string message, Exception inner)
            : base(message, inner)
        {
        }

        protected LookupErrorException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }

    [Serializable]
    public class ValueErrorException : ErrorException
    {
        public ValueErrorException()
        {
        }

        public ValueErrorException(string message)
            : base(message)
        {
        }

        public ValueErrorException(string message, Exception inner)
            : base(message, inner)
        {
        }

        protected ValueErrorException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }

    [Serializable]
    public class AssertionErrorException : ErrorException
    {
        public AssertionErrorException()
        {
        }

        public AssertionErrorException(string message)
            : base(message)
        {
        }

        public AssertionErrorException(string message, Exception inner)
            : base(message, inner)
        {
        }

        protected AssertionErrorException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }

    [Serializable]
    public class ArithmeticErrorException : ErrorException
    {
        public ArithmeticErrorException()
        {
        }

        public ArithmeticErrorException(string message)
            : base(message)
        {
        }

        public ArithmeticErrorException(string message, Exception inner)
            : base(message, inner)
        {
        }

        protected ArithmeticErrorException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }

    [Serializable]
    public class SystemErrorException : ErrorException
    {
        public SystemErrorException()
        {
        }

        public SystemErrorException(string message)
            : base(message)
        {
        }

        public SystemErrorException(string message, Exception inner)
            : base(message, inner)
        {
        }

        protected SystemErrorException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }

    [Serializable]
    public class ReferenceErrorException : ErrorException
    {
        public ReferenceErrorException()
        {
        }

        public ReferenceErrorException(string message)
            : base(message)
        {
        }

        public ReferenceErrorException(string message, Exception inner)
            : base(message, inner)
        {
        }

        protected ReferenceErrorException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }

    [Serializable]
    public class MemoryErrorException : ErrorException
    {
        public MemoryErrorException()
        {
        }

        public MemoryErrorException(string message)
            : base(message)
        {
        }

        public MemoryErrorException(string message, Exception inner)
            : base(message, inner)
        {
        }

        protected MemoryErrorException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }

    [Serializable]
    public class BufferErrorException : ErrorException
    {
        public BufferErrorException()
        {
        }

        public BufferErrorException(string message)
            : base(message)
        {
        }

        public BufferErrorException(string message, Exception inner)
            : base(message, inner)
        {
        }

        protected BufferErrorException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }

    [Serializable]
    public class WarningException : CompilationException
    {
        public WarningException()
        {
        }

        public WarningException(string message)
            : base(message)
        {
        }

        public WarningException(string message, Exception inner)
            : base(message, inner)
        {
        }

        protected WarningException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }

    [Serializable]
    public class ModuleNotFoundErrorException : ImportErrorException
    {
        public ModuleNotFoundErrorException()
        {
        }

        public ModuleNotFoundErrorException(string message)
            : base(message)
        {
        }

        public ModuleNotFoundErrorException(string message, Exception inner)
            : base(message, inner)
        {
        }

        protected ModuleNotFoundErrorException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }

    [Serializable]
    public class ConnectionErrorException : OSErrorException
    {
        public ConnectionErrorException()
        {
        }

        public ConnectionErrorException(string message)
            : base(message)
        {
        }

        public ConnectionErrorException(string message, Exception inner)
            : base(message, inner)
        {
        }

        protected ConnectionErrorException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }

    [Serializable]
    public class BlockingIOErrorException : OSErrorException
    {
        public BlockingIOErrorException()
        {
        }

        public BlockingIOErrorException(string message)
            : base(message)
        {
        }

        public BlockingIOErrorException(string message, Exception inner)
            : base(message, inner)
        {
        }

        protected BlockingIOErrorException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }

    [Serializable]
    public class ChildProcessErrorException : OSErrorException
    {
        public ChildProcessErrorException()
        {
        }

        public ChildProcessErrorException(string message)
            : base(message)
        {
        }

        public ChildProcessErrorException(string message, Exception inner)
            : base(message, inner)
        {
        }

        protected ChildProcessErrorException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }

    [Serializable]
    public class FileExistsErrorException : OSErrorException
    {
        public FileExistsErrorException()
        {
        }

        public FileExistsErrorException(string message)
            : base(message)
        {
        }

        public FileExistsErrorException(string message, Exception inner)
            : base(message, inner)
        {
        }

        protected FileExistsErrorException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }

    [Serializable]
    public class FileNotFoundErrorException : OSErrorException
    {
        public FileNotFoundErrorException()
        {
        }

        public FileNotFoundErrorException(string message)
            : base(message)
        {
        }

        public FileNotFoundErrorException(string message, Exception inner)
            : base(message, inner)
        {
        }

        protected FileNotFoundErrorException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }

    [Serializable]
    public class IsADirectoryErrorException : OSErrorException
    {
        public IsADirectoryErrorException()
        {
        }

        public IsADirectoryErrorException(string message)
            : base(message)
        {
        }

        public IsADirectoryErrorException(string message, Exception inner)
            : base(message, inner)
        {
        }

        protected IsADirectoryErrorException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }

    [Serializable]
    public class NotADirectoryErrorException : OSErrorException
    {
        public NotADirectoryErrorException()
        {
        }

        public NotADirectoryErrorException(string message)
            : base(message)
        {
        }

        public NotADirectoryErrorException(string message, Exception inner)
            : base(message, inner)
        {
        }

        protected NotADirectoryErrorException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }

    [Serializable]
    public class InterruptedErrorException : OSErrorException
    {
        public InterruptedErrorException()
        {
        }

        public InterruptedErrorException(string message)
            : base(message)
        {
        }

        public InterruptedErrorException(string message, Exception inner)
            : base(message, inner)
        {
        }

        protected InterruptedErrorException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }

    [Serializable]
    public class PermissionErrorException : OSErrorException
    {
        public PermissionErrorException()
        {
        }

        public PermissionErrorException(string message)
            : base(message)
        {
        }

        public PermissionErrorException(string message, Exception inner)
            : base(message, inner)
        {
        }

        protected PermissionErrorException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }

    [Serializable]
    public class ProcessLookupErrorException : OSErrorException
    {
        public ProcessLookupErrorException()
        {
        }

        public ProcessLookupErrorException(string message)
            : base(message)
        {
        }

        public ProcessLookupErrorException(string message, Exception inner)
            : base(message, inner)
        {
        }

        protected ProcessLookupErrorException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }

    [Serializable]
    public class TimeoutErrorException : OSErrorException
    {
        public TimeoutErrorException()
        {
        }

        public TimeoutErrorException(string message)
            : base(message)
        {
        }

        public TimeoutErrorException(string message, Exception inner)
            : base(message, inner)
        {
        }

        protected TimeoutErrorException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }

    [Serializable]
    public class RecursionErrorException : RuntimeErrorException
    {
        public RecursionErrorException()
        {
        }

        public RecursionErrorException(string message)
            : base(message)
        {
        }

        public RecursionErrorException(string message, Exception inner)
            : base(message, inner)
        {
        }

        protected RecursionErrorException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }

    [Serializable]
    public class NotImplementedErrorException : RuntimeErrorException
    {
        public NotImplementedErrorException()
        {
        }

        public NotImplementedErrorException(string message)
            : base(message)
        {
        }

        public NotImplementedErrorException(string message, Exception inner)
            : base(message, inner)
        {
        }

        protected NotImplementedErrorException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }

    [Serializable]
    public class UnboundLocalErrorException : NameErrorException
    {
        public UnboundLocalErrorException()
        {
        }

        public UnboundLocalErrorException(string message)
            : base(message)
        {
        }

        public UnboundLocalErrorException(string message, Exception inner)
            : base(message, inner)
        {
        }

        protected UnboundLocalErrorException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }

    [Serializable]
    public class IndentationErrorException : SyntaxErrorException
    {
        public IndentationErrorException()
        {
        }

        public IndentationErrorException(string message)
            : base(message)
        {
        }

        public IndentationErrorException(string message, Exception inner)
            : base(message, inner)
        {
        }

        protected IndentationErrorException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }

    [Serializable]
    public class IndexErrorException : LookupErrorException
    {
        public IndexErrorException()
        {
        }

        public IndexErrorException(string message)
            : base(message)
        {
        }

        public IndexErrorException(string message, Exception inner)
            : base(message, inner)
        {
        }

        protected IndexErrorException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }

    [Serializable]
    public class KeyErrorException : LookupErrorException
    {
        public KeyErrorException()
        {
        }

        public KeyErrorException(string message)
            : base(message)
        {
        }

        public KeyErrorException(string message, Exception inner)
            : base(message, inner)
        {
        }

        protected KeyErrorException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }

    [Serializable]
    public class UnicodeErrorException : ValueErrorException
    {
        public UnicodeErrorException()
        {
        }

        public UnicodeErrorException(string message)
            : base(message)
        {
        }

        public UnicodeErrorException(string message, Exception inner)
            : base(message, inner)
        {
        }

        protected UnicodeErrorException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }

    [Serializable]
    public class FloatingPointErrorException : ArithmeticErrorException
    {
        public FloatingPointErrorException()
        {
        }

        public FloatingPointErrorException(string message)
            : base(message)
        {
        }

        public FloatingPointErrorException(string message, Exception inner)
            : base(message, inner)
        {
        }

        protected FloatingPointErrorException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }

    [Serializable]
    public class OverflowErrorException : ArithmeticErrorException
    {
        public OverflowErrorException()
        {
        }

        public OverflowErrorException(string message)
            : base(message)
        {
        }

        public OverflowErrorException(string message, Exception inner)
            : base(message, inner)
        {
        }

        protected OverflowErrorException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }

    [Serializable]
    public class ZeroDivisionErrorException : ArithmeticErrorException
    {
        public ZeroDivisionErrorException()
        {
        }

        public ZeroDivisionErrorException(string message)
            : base(message)
        {
        }

        public ZeroDivisionErrorException(string message, Exception inner)
            : base(message, inner)
        {
        }

        protected ZeroDivisionErrorException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }

    [Serializable]
    public class UserWarningException : WarningException
    {
        public UserWarningException()
        {
        }

        public UserWarningException(string message)
            : base(message)
        {
        }

        public UserWarningException(string message, Exception inner)
            : base(message, inner)
        {
        }

        protected UserWarningException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }

    [Serializable]
    public class DeprecationWarningException : WarningException
    {
        public DeprecationWarningException()
        {
        }

        public DeprecationWarningException(string message)
            : base(message)
        {
        }

        public DeprecationWarningException(string message, Exception inner)
            : base(message, inner)
        {
        }

        protected DeprecationWarningException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }

    [Serializable]
    public class PendingDeprecationWarningException : WarningException
    {
        public PendingDeprecationWarningException()
        {
        }

        public PendingDeprecationWarningException(string message)
            : base(message)
        {
        }

        public PendingDeprecationWarningException(string message, Exception inner)
            : base(message, inner)
        {
        }

        protected PendingDeprecationWarningException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }

    [Serializable]
    public class SyntaxWarningException : WarningException
    {
        public SyntaxWarningException()
        {
        }

        public SyntaxWarningException(string message)
            : base(message)
        {
        }

        public SyntaxWarningException(string message, Exception inner)
            : base(message, inner)
        {
        }

        protected SyntaxWarningException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }

    [Serializable]
    public class RuntimeWarningException : WarningException
    {
        public RuntimeWarningException()
        {
        }

        public RuntimeWarningException(string message)
            : base(message)
        {
        }

        public RuntimeWarningException(string message, Exception inner)
            : base(message, inner)
        {
        }

        protected RuntimeWarningException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }

    [Serializable]
    public class FutureWarningException : WarningException
    {
        public FutureWarningException()
        {
        }

        public FutureWarningException(string message)
            : base(message)
        {
        }

        public FutureWarningException(string message, Exception inner)
            : base(message, inner)
        {
        }

        protected FutureWarningException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }

    [Serializable]
    public class ImportWarningException : WarningException
    {
        public ImportWarningException()
        {
        }

        public ImportWarningException(string message)
            : base(message)
        {
        }

        public ImportWarningException(string message, Exception inner)
            : base(message, inner)
        {
        }

        protected ImportWarningException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }

    [Serializable]
    public class UnicodeWarningException : WarningException
    {
        public UnicodeWarningException()
        {
        }

        public UnicodeWarningException(string message)
            : base(message)
        {
        }

        public UnicodeWarningException(string message, Exception inner)
            : base(message, inner)
        {
        }

        protected UnicodeWarningException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }

    [Serializable]
    public class BytesWarningException : WarningException
    {
        public BytesWarningException()
        {
        }

        public BytesWarningException(string message)
            : base(message)
        {
        }

        public BytesWarningException(string message, Exception inner)
            : base(message, inner)
        {
        }

        protected BytesWarningException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }

    [Serializable]
    public class ResourceWarningException : WarningException
    {
        public ResourceWarningException()
        {
        }

        public ResourceWarningException(string message)
            : base(message)
        {
        }

        public ResourceWarningException(string message, Exception inner)
            : base(message, inner)
        {
        }

        protected ResourceWarningException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }

    [Serializable]
    public class BrokenPipeErrorException : ConnectionErrorException
    {
        public BrokenPipeErrorException()
        {
        }

        public BrokenPipeErrorException(string message)
            : base(message)
        {
        }

        public BrokenPipeErrorException(string message, Exception inner)
            : base(message, inner)
        {
        }

        protected BrokenPipeErrorException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }

    [Serializable]
    public class ConnectionAbortedErrorException : ConnectionErrorException
    {
        public ConnectionAbortedErrorException()
        {
        }

        public ConnectionAbortedErrorException(string message)
            : base(message)
        {
        }

        public ConnectionAbortedErrorException(string message, Exception inner)
            : base(message, inner)
        {
        }

        protected ConnectionAbortedErrorException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }

    [Serializable]
    public class ConnectionRefusedErrorException : ConnectionErrorException
    {
        public ConnectionRefusedErrorException()
        {
        }

        public ConnectionRefusedErrorException(string message)
            : base(message)
        {
        }

        public ConnectionRefusedErrorException(string message, Exception inner)
            : base(message, inner)
        {
        }

        protected ConnectionRefusedErrorException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }

    [Serializable]
    public class ConnectionResetErrorException : ConnectionErrorException
    {
        public ConnectionResetErrorException()
        {
        }

        public ConnectionResetErrorException(string message)
            : base(message)
        {
        }

        public ConnectionResetErrorException(string message, Exception inner)
            : base(message, inner)
        {
        }

        protected ConnectionResetErrorException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }

    [Serializable]
    public class TabErrorException : IndentationErrorException
    {
        public TabErrorException()
        {
        }

        public TabErrorException(string message)
            : base(message)
        {
        }

        public TabErrorException(string message, Exception inner)
            : base(message, inner)
        {
        }

        protected TabErrorException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }

    [Serializable]
    public class UnicodeEncodeErrorException : UnicodeErrorException
    {
        public UnicodeEncodeErrorException()
        {
        }

        public UnicodeEncodeErrorException(string message)
            : base(message)
        {
        }

        public UnicodeEncodeErrorException(string message, Exception inner)
            : base(message, inner)
        {
        }

        protected UnicodeEncodeErrorException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }

    [Serializable]
    public class UnicodeDecodeErrorException : UnicodeErrorException
    {
        public UnicodeDecodeErrorException()
        {
        }

        public UnicodeDecodeErrorException(string message)
            : base(message)
        {
        }

        public UnicodeDecodeErrorException(string message, Exception inner)
            : base(message, inner)
        {
        }

        protected UnicodeDecodeErrorException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }

    [Serializable]
    public class UnicodeTranslateErrorException : UnicodeErrorException
    {
        public UnicodeTranslateErrorException()
        {
        }

        public UnicodeTranslateErrorException(string message)
            : base(message)
        {
        }

        public UnicodeTranslateErrorException(string message, Exception inner)
            : base(message, inner)
        {
        }

        protected UnicodeTranslateErrorException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }

    [Serializable]
    public class GrammarErrorException : ErrorException
    {
        public GrammarErrorException()
        {
        }

        public GrammarErrorException(string message)
            : base(message)
        {
        }

        public GrammarErrorException(string message, Exception inner)
            : base(message, inner)
        {
        }

        protected GrammarErrorException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }
}
